<template>
  <div class="rightBodyContent">
    <div class="rightBodyContent-in">
      <el-tabs v-model="activeName" type="card">
        <el-tab-pane :label="item.name" :name="item.id" v-for="item in tabList" :key="item.id"></el-tab-pane>
      </el-tabs>
      <myapply v-if="activeName==1"></myapply>
      <mypush v-if="activeName==2"></mypush>
    </div>
  </div>
</template>

<script>
import {pagination, tableoption} from '@/utils/util.js'
import viewImgDialog from '@/components/dialog/previewImgDialog.vue'
import myapply from "./popup/myapply";
import mypush from "./popup/mypush";

export default {
  components: {
    viewImgDialog,
    myapply,
    mypush
    // download
  },
  data () {
    return {
      tableStyle: tableoption,
      page: {
        pageindex: pagination.pageIndex,
        pagesize: pagination.pageSize,
        total: pagination.total
      },
      tabList:[
        {
          id:'1',
          name: '我的申请'
        },
        {
          id:'2',
          name: '我的返库申请'
        }
      ],
      activeName: '1',
    }
  },
  created () {
  },
  methods: {
  },
  mounted () {
  }
}
</script>


